package com.gitee.ed.arithmetic.leetcode.solution.solution_1_100.solution_1_10;

import com.gitee.ed.arithmetic.leetcode.common.Solution;

/**
 * @author hongda.li
 */
@FunctionalInterface
public interface Solution1 extends Solution {

    /**
     * 两数之和
     *
     * @param nums   数组
     * @param target 目标和
     * @return 两数索引
     */
    int[] twoSum(int[] nums, int target);
}
